home *** CD-ROM | disk | FTP | other *** search
- Path: antoniades.lcs.mit.edu!frankkim
- From: frankkim@antoniades.lcs.mit.edu (Frank Kim)
- Newsgroups: comp.lang.c
- Subject: Newbie Questions
- Date: 21 Mar 1996 14:33:37 GMT
- Organization: MIT Laboratory for Computer Science, Cambridge MA
- Message-ID: <4irpc1$b8u@GRAPEVINE.LCS.MIT.EDU>
- NNTP-Posting-Host: antoniades.lcs.mit.edu
-
-
- Question #2
-
- Why does the scope of the external declaration not extend beyond the
- inner block?
-
- {
- {
- extern E;
- E = 0;
- }
- E = 1;
- }
-
- Question #3
-
- Is there any difference between these two declarations?
-
- char *s1 = "hello";
- char s2[] = "hello";
-
-
- Thanks for any help!
- --
- Frank Kim frankkim@catfish.lcs.mit.edu
- http://cag-www.lcs.mit.edu/~frankkim/
-
-